package com.whacos.modules.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whacos.modules.system.entity.SysUserRole;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @author xiongdun
 * @description SysUserRoleDao 用户与角色对应关系管理dao
 * @since 2018/11/17 17:11
 */
//@Mapper
public interface SysUserRoleDao extends BaseMapper<SysUserRole> {

    List<Long> listRoleId(Serializable userId);

    int batchInsert(List<SysUserRole> list);
}
